package com.cheng.service;

import com.cheng.pojo.Order;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrderService {

    //查询所有订单
    PageInfo<Order> querymerchantsOrder(int page, int pageSize , String userCode);

    //查询所有订单
    PageInfo<Order> queryusersOrder(int page, int pageSize , String name);

    //商家删除订单
    int merchantsDeleteOrder(String ordercode);

    //用户添加订单
    int addOrder(String ordername,java.util.Date qwer,String usercode,String Child_number,String Adult_number,String total_price,String name,String productcode,int cno);

}
